//
//  ViewController.m
//  MyScrollView
//
//  Created by iOS on 2017/10/26.
//  Copyright © 2017年 iOS. All rights reserved.
//

#import "ViewController.h"
#import "CrosswiseRollView.h"

@interface ViewController ()

@end

@implementation ViewController



- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSArray *images = [NSArray arrayWithObjects:@"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1509019061301&di=a0396a2ad0bfc52dd8676c566794e8d9&imgtype=0&src=http%3A%2F%2Fpic.jj20.com%2Fup%2Fallimg%2F1011%2F03031G35313%2F1F303135313-15.jpg",@"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1509020577912&di=6bcb9ef0747445e685b5d9de7def1409&imgtype=0&src=http%3A%2F%2Ft1.niutuku.com%2F960%2F45%2F45-74265.jpg",@"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1509020577912&di=f27effe2be25c11fc1623c4fc16c2687&imgtype=0&src=http%3A%2F%2Fimg2.niutuku.com%2Fdesk%2F1208%2F1523%2Fntk-1523-42480.jpg", nil];
    CrosswiseRollView *rollView = [[CrosswiseRollView alloc] initImageUrls:images];
    [self.view addSubview:rollView];
}





@end
